package com.vegasoft.games.tetrixml;

import java.io.Serializable;

public class PieceEventArgs<T extends Serializable> {

	private PieceEventAction action;
	T parameter;
	
	public PieceEventArgs(PieceEventAction action, T parameter) {
		this.action = action;
		this.parameter = parameter;
	}

	/**
	 * @return the action
	 */
	public PieceEventAction getAction() {
		return action;
	}

	/**
	 * @return the parameter
	 */
	public T getParameter() {
		return parameter;
	}
	
	
}
